package com.question.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 是和否
 *
 * @author star
 * @since 2022/10/20
 */
@Getter
@AllArgsConstructor
public enum YesAndNoEnum {

    /**
     * 是否
     */
    NO(0, "否"), YES(1, "是");

    /**
     * 代码
     */
    private final Integer code;

    /**
     * 描述
     */
    private final String desc;

}
